﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Entities.Persons
{
    [Serializable]
    public class Business:Entity
    {
        #region props
        private string _BusinessID;
        /// <summary></summary>
        public string BusinessID
        {
            get
            {
                return this._BusinessID;
            }
            set
            {
                this._BusinessID = value;
            }
        }

        private int _EIN;
        /// <summary></summary>
        public int EIN
        {
            get
            {
                return this._EIN;
            }
            set
            {
                this._EIN = value;
            }
        }

        private BusinessType _BusinessType;
        /// <summary></summary>
        public BusinessType BusinessType
        {
            get
            {
                return this._BusinessType;
            }
            set
            {
                this._BusinessType = value;
            }
        }

        private string _BusinessName;
        /// <summary></summary>
        public string BusinessName
        {
            get
            {
                return this._BusinessName;
            }
            set
            {
                this._BusinessName = value;
            }
        }

        private string _BusinessNameAbbreviation;

        /// <summary></summary>
        public string BusinessNameAbbreviation
        {
            get
            {
                return this._BusinessNameAbbreviation;
            }
            set
            {
                this._BusinessNameAbbreviation = value;
            }
        }
        #endregion


        public Business(string businessId)
            : base(businessId,new Dictionary<string, object>())
        {
            this._BusinessID = businessId;
        }

    }
}
